package com.example.study.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.study.common.api.ResultUtil;
import com.example.study.model.StudentVO;
import com.example.study.model.StudentPO;

public interface StudentService extends IService<StudentPO> {

    ResultUtil saveStudent(StudentVO studentVO);

    ResultUtil getStudentPage(int pageIndex, int pageSize);

    ResultUtil getStudentCriteriaPage(int pageIndex, int pageSize, StudentVO studentVO);

    ResultUtil updateStudent(StudentVO studentVO);

    ResultUtil deleteStudent(Long id);

}
